home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 008 / hgraphx.lqr / DEMO.BAT next >
Encoding:
DOS Batch File  |  1985-06-12  |  1.4 KB  |  61 lines

  1. cls
  2. rem *
  3. rem * Be sure that INT10.EXE has been run ONCE since booting up.
  4. rem *
  5. rem * The demo will continue by running a program I've named ITERXY.
  6. rem * It will generate a design on graphics page 1.
  7. pause
  8. iterxy  0  -1 0  0 1  -.999 -.999  0 0
  9. rem *
  10. rem * That was a fractal design from Scentific American, Nov81. 
  11. rem * The C language program is in file ITERXY.C.  Change the command-
  12. rem * line parameters to create a huge variety of different patterns.
  13. rem *
  14. rem * For another look at graphics page 1, we type GSHOW 1
  15. rem *
  16. pause
  17. gshow 1
  18. rem * Next we'll store that image in file P1, using GSAVE 1 P1
  19. rem * (This takes a few seconds)
  20. rem *
  21. pause
  22. gsave 1 p1
  23. rem * Now to erase the image from page 1, we type GCLS 1
  24. rem *
  25. pause
  26. gcls 1
  27. rem * and to verify that it's cleared, we type GSHOW 1
  28. rem *
  29. pause
  30. gshow 1
  31. rem * Now to restore the image, use  GLOAD 1 P1  
  32. rem * (This takes a few seconds)
  33. rem *
  34. pause
  35. gload 1 p1
  36. rem * View the restored image with  GSHOW 1  
  37. rem *
  38. pause
  39. gshow 1
  40. rem * Try out the printer copy with  GPRINT 1  
  41. rem * (Be sure your printer is on-line!)
  42. rem *
  43. pause
  44. gprint 1
  45. rem * To plot the data in file DEMO.DAT, type  GPLOT DEMO.DAT 0  
  46. rem *
  47. pause
  48. gplot demo.dat 0
  49. rem * Finally, try  GPLOT DEMO.DAT 1  for a line-plot
  50. rem *
  51. pause
  52. gplot demo.dat 1
  53. pause
  54. cls
  55. rem * Have fun!
  56. rem *                 Bob Sawyer
  57. rem *                 3620 Spencer St. 30
  58. rem *                 Torrance, CA 90503
  59.  
  60.  
  61.